dataSource {
    pooled = true
}
hibernate {
    cache.use_second_level_cache = true
    cache.use_query_cache = true
    cache.provider_class = 'net.sf.ehcache.hibernate.EhCacheProvider'
    flush.mode='commit'
}
// environment specific settings
environments {
    development {
        dataSource {
            driverClassName = "org.hsqldb.jdbcDriver"
            username = "sa"
            password = ""
			dbCreate = "create-drop" // one of 'create', 'create-drop','update'
            url = "jdbc:hsqldb:mem:devDB"
			logSql = false 
        }
    }
	
    test {
        dataSource {
            driverClassName = "org.hsqldb.jdbcDriver"
            username = "sa"
            password = ""
            dbCreate = "create-drop" // one of 'create', 'create-drop','update'
            url = "jdbc:hsqldb:mem:devDB"
            logSql = true
        }
    }
	
    production {
        dataSource {
            dbCreate = "update"
			driverClassName = "com.microsoft.sqlserver.jdbc.SQLServerDriver"
			username = "sa"
			password = "P@55word"
            url = "jdbc:sqlserver://192.168.1.99;databaseName=Fusion3;"
			logSql = false
        }
    }
}
